package com.jianyun.jyzs.bean;

import java.util.List;

/**
 * Created by yangshijun on 2018/6/21.
 * Crm中电话和拜访数量
 */

public class CrmPhoneNumBean extends Response {
    private int total;

    private boolean result;

    private String message;

    private List<Data> data;

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotal() {
        return this.total;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public boolean getResult() {
        return this.result;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return this.message;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public List<Data> getData() {
        return this.data;
    }


    @Override
    public String toString() {
        return "CrmPhoneNumBean{" +
                "total=" + total +
                ", result=" + result +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public class Data {
        private String id;

        private int phoneTimes;

        private int visitTimes;

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return this.id;
        }

        public void setPhoneTimes(int phoneTimes) {
            this.phoneTimes = phoneTimes;
        }

        public int getPhoneTimes() {
            return this.phoneTimes;
        }

        public void setVisitTimes(int visitTimes) {
            this.visitTimes = visitTimes;
        }

        public int getVisitTimes() {
            return this.visitTimes;
        }

        @Override
        public String toString() {
            return "Data{" +
                    "id='" + id + '\'' +
                    ", phoneTimes=" + phoneTimes +
                    ", visitTimes=" + visitTimes +
                    '}';
        }
    }

    public static class HasHData {


        private int phoneTimes;

        private int visitTimes;

        public HasHData(int phoneTimes, int visitTimes) {
            this.phoneTimes = phoneTimes;
            this.visitTimes = visitTimes;
        }

        public void setPhoneTimes(int phoneTimes) {
            this.phoneTimes = phoneTimes;
        }

        public int getPhoneTimes() {
            return this.phoneTimes;
        }

        public void setVisitTimes(int visitTimes) {
            this.visitTimes = visitTimes;
        }

        public int getVisitTimes() {
            return this.visitTimes;
        }

        @Override
        public String toString() {
            return "Data{" +

                    ", phoneTimes=" + phoneTimes +
                    ", visitTimes=" + visitTimes +
                    '}';
        }
    }
}
